﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TR.Domain.Entity
{
    /// <summary>
    /// 编码规则
    /// </summary>
    public class sys_Encode
    {
        [Key]
        public int en_code { get; set; }//编码规则ID
        public string? en_form { get; set; }//目标表单
        public string? en_prefix { get; set; }//编号前缀
        public string? en_time { get; set; }//时间规则
        public int en_num { get; set; }//流水号/位
        public int en_step { get; set; }//步长
        public string? en_rules { get; set; }//编号生成规则
        public string? create_by { get; set; }//操作人
        public string? create_time { get; set; }//操作时间
        public int is_del { get; set; }//逻辑删除
        public int? max_num {  get; set; }//最大数
        public string? last_date { get; set; }//最后值
    }
}
